﻿<%@ Page Language="vb" AutoEventWireup="false" Codebehind="dmsanpham.aspx.vb" Inherits="kdadmin.dmsanpham" %>
<%@ Register TagPrefix="uc1" TagName="menu_nhap" Src="../common/menu_nhap.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.01 Transitional//EN">
<HTML>
	<HEAD>
		<title>sanpham</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="VBScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<%--<LINK href="../../../Styles.css" type="text/css" rel="stylesheet">--%>
	</HEAD>
	<body MS_POSITIONING="FlowLayout">
		<form id="Form1" method="post" runat="server">
			&nbsp;
			<asp:TextBox id="TextBox1" runat="server"></asp:TextBox>
			<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="780" border="1">
				<TR>
					<TD colSpan="3"><uc1:menu_nhap id="Menu_nhap1" runat="server"></uc1:menu_nhap></TD>
				</TR>
				<TR>
					<TD><a href="nchitietsp.aspx">Thêm mới SP</A><br>
						<asp:datagrid id="DataGrid1" runat="server" OnPageIndexChanged="DataGrid1_PageIndexChanged" AutoGenerateColumns="False"
							BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" BackColor="White">
							<HeaderStyle Font-Bold="True" HorizontalAlign="Center" ForeColor="#ff6600" BackColor="#990000"></HeaderStyle>
							<Columns>
								<asp:BoundColumn Visible="False" DataField="IDsanpham" ReadOnly="True" HeaderText="Mã sản phẩm"></asp:BoundColumn>
								<asp:BoundColumn DataField="TENsanpham" HeaderText="Tên sản phẩm"></asp:BoundColumn>
								<asp:BoundColumn DataField="GIOITHIEU" HeaderText="Giới thiệu"></asp:BoundColumn>
								<asp:BoundColumn DataField="chuan" HeaderText="IDQC chuan"></asp:BoundColumn>
								<asp:BoundColumn DataField="THOIGIANBH" HeaderText="Thời gian BH"></asp:BoundColumn>
								<asp:BoundColumn DataField="TT" HeaderText="Trạng thái"></asp:BoundColumn>
								<asp:BoundColumn DataField="THUTU" HeaderText="Thứ tự"></asp:BoundColumn>
								<asp:TemplateColumn HeaderText="Copy">
									<ItemTemplate>
										<asp:Label ID="Label3" Text='<%# "<a href=nchitietsp.aspx?" & Request.QueryString.ToString &  "&id=" + DataBinder.Eval(Container.DataItem, "idsanpham").toString()+ "&new=1" + ">Copy</a>" %>' Runat=server />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="Chi tiết">
									<ItemTemplate>
										<asp:Label ID="Label1" Text='<%# "<a href=nchitietsp.aspx?" & Request.QueryString.ToString &  "&id=" + DataBinder.Eval(Container.DataItem, "idsanpham").toString() + ">Chi ti?t</a>" %>' Runat=server />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="Quy cách">
									<ItemTemplate>
										<asp:Label ID="Label2" Text='<%# "<a href=nquicach.aspx?" & Request.QueryString.ToString &  "&id=" + DataBinder.Eval(Container.DataItem, "idsanpham").toString() + ">Quy cách</a>" %>' Runat=server />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="Mã QC">
									<ItemTemplate>
										<asp:Label ID="Label9" Text='<%# "<a href=nmaqc.aspx?" & Request.QueryString.ToString &  "&id=" + DataBinder.Eval(Container.DataItem, "idsanpham").toString() + ">Mã QC</a>" %>' Runat=server />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="Gia VN">
									<ItemTemplate>
										<asp:Label ID="Label6" Text='<%# "<a href=nGiaVN.aspx?" & Request.QueryString.ToString &  "&id=" + DataBinder.Eval(Container.DataItem, "idsanpham").toString() + ">gia VN</a>" %>' Runat=server />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="Gia AU">
									<ItemTemplate>
										<asp:Label ID="Label5" Text='<%# "<a href=nGiaAU.aspx?" & Request.QueryString.ToString &  "&id=" + DataBinder.Eval(Container.DataItem, "idsanpham").toString() + ">gia AU</a>" %>' Runat=server />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="Gia TQ">
									<ItemTemplate>
										<asp:Label ID="Label4" Text='<%# "<a href=nGiaTQ.aspx?" & Request.QueryString.ToString &  "&id=" + DataBinder.Eval(Container.DataItem, "idsanpham").toString() + ">gia TQ</a>" %>' Runat=server />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="Gia FR">
									<ItemTemplate>
										<asp:Label ID="Label7" Text='<%# "<a href=nGiaFr.aspx?" & Request.QueryString.ToString &  "&id=" + DataBinder.Eval(Container.DataItem, "idsanpham").toString() + ">gia Fr</a>" %>' Runat=server />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="Gia GE">
									<ItemTemplate>
										<asp:Label ID="Label8" Text='<%# "<a href=nGiaGe.aspx?" & Request.QueryString.ToString &  "&id=" + DataBinder.Eval(Container.DataItem, "idsanpham").toString() + ">gia Ge</a>" %>' Runat=server />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="Delete">
									<ItemTemplate>
										<asp:Label ID="Delete" Text='<%# "<a href=""xsanpham.aspx?" & Request.QueryString.ToString & "&id=" + DataBinder.Eval(Container.DataItem, "idsanpham").toString()+ """><img src=""../../images/delete.gif"" border=0></a>" %>' Runat=server />
									</ItemTemplate>
								</asp:TemplateColumn>
							</Columns>
							<PagerStyle HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC"></PagerStyle>
						</asp:datagrid><a href="nchitietsp.aspx">Thêm mới SP</A>
					</TD>
				</TR>
				<TR>
					<TD></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
